<?php
// $Id$

/**
 * @file
 * Default theme implementation for a Ventrilo channel.
 *
 * Available variables:
 * - $channel - An array containing channel information. Possible fields include:
 *   'name', 'comment', 'protected', 'children'.
 * - $depth - The tree depth to display this channel.
 */
?>
<tr>
  <td colspan="2" class="channel" style="padding-left: <?php print 5 + ($depth * 15); ?>px;"<?php if (!empty($channel['comment'])): ?> title="<?php print $channel['comment']; ?>"<?php endif; ?>>
    <span class="<?php print !empty($channel['children']) ? 'expanded-' : 'collapsed-'; ?><?php print $channel['protected']; ?>"><?php print $channel['name']; ?></span>
  </td>
</tr>
<?php print $channel['children']; ?>
